<!DOCTYPE html>
<html>
<head>
<title></title>
#parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
		<div class="grid-btn">
			#if($shiro.hasPermission("firmwaredev:save"))
			<a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			#end
			#if($shiro.hasPermission("firmwaredev:update"))
			<a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			#end
			#if($shiro.hasPermission("firmwaredev:delete"))
			<a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			#end
		</div>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>
    
    <div v-show="!showList" class="panel panel-default">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal">
											<div class="form-group">
			   	<div class="col-sm-2 control-label">唯一标识</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="firmwareDev.rowId" placeholder="唯一标识"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">硬件类型</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="firmwareDev.hardwareType" placeholder="硬件类型"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">硬件型号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="firmwareDev.hardwareModel" placeholder="硬件型号"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">固件最新版本号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="firmwareDev.firmwareLatestVersionCode" placeholder="固件最新版本号"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">产品型号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="firmwareDev.equipmentModel" placeholder="产品型号"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">固件下载地址</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="firmwareDev.firmwareDownloadAddr" placeholder="固件下载地址"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">信息录入时间</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="firmwareDev.addTime" placeholder="信息录入时间"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">固件描述信息</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="firmwareDev.firmwareDescription" placeholder="固件描述信息"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">合并版本号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="firmwareDev.mergeVersion" placeholder="合并版本号"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">更新方式0不强制、1强制</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="firmwareDev.updateMethod" placeholder="更新方式0不强制、1强制"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">是否强制升级（0否，1是）</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="firmwareDev.isMandatoryUpgrade" placeholder="是否强制升级（0否，1是）"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">状态</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="firmwareDev.status" placeholder="状态"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">固件大小</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="firmwareDev.firmwareSize" placeholder="固件大小"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">添加人</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="firmwareDev.addUser" placeholder="添加人"/>
			    </div>
			</div>
							<div class="form-group">
				<div class="col-sm-2 control-label"></div> 
				<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
				&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
			</div>
		</form>
	</div>
</div>

<script src="${rc.contextPath}/js/generator/firmwaredev.js?_${date.systemTime}"></script>
</body>
</html>